{% extends "base_dialog.html" %}

{% block content %}
    {% if q %}
        <div class="tip">Question:</div>
        <div class="quest">{{ q.text|linebreaksbr }}</div><br>
    {% endif %}
    <h2 style="margin-top: 0px;margin-bottom: 4px;">Compare {{ type }}s:</h2>

    <form action="/quest?id={{ question.key }}&rnd={{ rnd }}" method="post">
        <div class="state">{{ l.text|linebreaksbr }}</div>
        <input type="submit" data-theme="a" data-inline="true" name="compare" value="Duplicate, delete first" data-icon="alert">
        <div class="tip" style="margin-bottom: 9px; text-align: center;">and</div>
        <div class="state">{{ r.text|linebreaksbr }}</div>
        <input type="submit" data-inline="true" data-theme="a" name="compare" value="Duplicate, delete second" data-icon="alert">
        <br>
        <input type="hidden" name="lid" value="{{l.key}}">
        <input type="hidden" name="rid" value="{{r.key}}">
        <br>
        <input type="submit" data-inline="true" data-theme="b" name="compare" value="This {{type}}s are different" data-icon="check">
    </form>
{% endblock %}